package com.itheima.d7_extends;
// 父类
public class Fu {
    // 公开成员
    public int i = 10;
    public void print1(){
        System.out.println("===print1===");
    }

    // 私有成员
    private int j =100;
    private void print2(){
        System.out.println("===print2===");
    }


    public  int  getJ(){
        System.out.println("父类的私有变量");
        print2();
        return j;
    }
}
